import {defaultRequest} from "@/network";

export function getHomeData(username) {
  return defaultRequest({
    method: "GET",
    url: "/home/" + username
  })
}

export function queryForPage(queryPage) {
  return defaultRequest({
    method: "POST",
    data: queryPage,
    url: "/home/search"
  });
}
